@import '~antd/es/style/variable.less';

.toolList {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  .toolItem {
    width: 32px;
    font-size: 16px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    transition: color 0.3s ease;
    &:hover {
      color: @primary-color;
    }
  }
}
.toolMenuSelect {
  :global {
    .ant-dropdown-menu-item {
      width: 76px;
      text-align: center;
    }
  }
}
.toolColumnSettingContainer {
  .columnSettingContentList {
    .columnSettingContentTitle {
      color: @text-color-secondary;
      font-weight: 500;
      font-size: 12px;
      line-height: 24px;
    }
  }
}

.rowListContainer {
  .rowListItem {
    position: relative;
    height: 22px;
    padding-left: 20px;
    overflow: hidden;
    > span:first-child {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      width: 20px;
      color: @text-color-secondary;
      font-size: 16px;
      cursor: move;
      user-select: none;
      &:hover {
        color: @text-color;
      }
    }
    :global {
      .ant-checkbox-wrapper > span:last-child {
        display: inline-block;
        width: 136px;
        padding-right: 40px;
        overflow: hidden;
        font-size: 13px;
        white-space: nowrap;
        text-overflow: ellipsis;
        vertical-align: middle;
      }
    }
    .rowListItemIcon {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      display: none;
      flex-direction: row;
      user-select: none;
      .rowListItemIconItem {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 100%;
        color: @link-color;
        font-size: 16px;
        cursor: pointer;
        &:hover {
          color: @link-hover-color;
        }
      }
    }
    &:hover {
      background-color: @item-hover-bg;
      .rowListItemIcon {
        display: flex;
      }
    }
  }
}
